﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class OrderReceiptConfiguration : EntityTypeConfiguration<OrderReceipt>
    {
        public OrderReceiptConfiguration()
        {
            Property(g => g.OrderReceiptID).IsRequired(); 
             Property(g => g.Date).IsOptional(); 
             Property(g => g.Destination).IsOptional(); 
             Property(g => g.OrderNumber).IsOptional(); 
             Property(g => g.OrderReference).IsOptional(); 
             Property(g => g.OrderType).IsOptional(); 
             Property(g => g.State).IsOptional(); 
             Property(g => g.User_).IsOptional();
        }
    }
}
